<?php 

$num ="445281198611241877";

$num ="445281201712251877";

$preg = "/^[1-9]\d{5}(19[0-9]{2}|20(0[0-9]|1[0-7]))(0[1-9]|1[0-2])(0[1-9]|1[0-9]|2[0-9]|3[0-1])[0-9]{3}[0-9X]$/";

$res = preg_match($preg, $num);

// var_dump($res);

$num ="f_f@sdfssd";

$preg = "/^([A-Za-z0-9][A-Za-z0-9_]*[A-Za-z0-9]|[A-Za-z0-9])@([A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9]|[A-Za-z0-9])(\.[A-Za-z]{2,})+$/";
$res = preg_match($preg, $num);

var_dump($res);









 ?>